#include"process.h"
void process(){
  int cnt = 0;
  char bar[101];
  char lab[] = "|/-\\";
  memset(bar,0,sizeof(bar));
  while(cnt <=100){
    printf("\033[0;32m[%-100s][%-3d%%][%c]\033[0m\r",bar,cnt,lab[cnt%4]);
    fflush(stdout);
    bar[cnt++] = '#';
    usleep(50000);
  }
  printf("\n");
}
